package com.health.service;

import com.health.entity.TRolePermision;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sanchuan
 * @since 2023-04-21
 */
public interface ITRolePermisionService extends IService<TRolePermision> {

    Boolean addPermissionsStatus(List<Integer> checkPermissions, Integer id);
    Boolean deletePermissionsStatus(List<Integer> checkPermissions, Integer id);

    Boolean addSinglePermissionsStatus(Integer delId, Integer id);
    Boolean deleteSinglePermissionsStatus(Integer delId, Integer id);
}
